﻿using System;
using System.Linq.Expressions;
using Loong.Domain.Entities;

namespace Loong.Dapper.Filters.Query
{
    public interface IDapperQueryFilterExecuter
    {
        Expression<Func<TEntity, bool>> ExecuteFilter<TEntity, TPrimaryKey>(Expression<Func<TEntity, bool>> predicate) where TEntity : class, IEntity<TPrimaryKey>;
    }
}
